package com.cheney.dc.dao;

import org.hibernate.SessionFactory;

import com.cheney.dc.vo.DataInfo;
import com.vwinwork.dao.GenericDAO;

public class DataDao extends GenericDAO<DataInfo>{
	
	private static DataDao instance;
	public static DataDao getInstance(SessionFactory sessionFactory) {
		if (instance == null) {
			instance = new DataDao(sessionFactory);
		}
		return instance;
	}

	public DataDao(SessionFactory sessionFactory) {
		super(sessionFactory, DataInfo.class);
	}
}
